<template lang="pug">
  .new-template
    //- TopNav
    Footbar
    Toolsbar
    Pendant(v-if="getIsPc")
    SayModal
    MiniMap
    MenuContents
</template>

<script>

// 当前模板组件
import Footbar from './footer'
import Toolsbar from './toolsbar'
import Pendant from './pendant'
// import TopNav from './top-nav'
import SayModal from './say-modal'
import MiniMap from './mini-map'
import { isPc } from '@/utils'

export default {
  data() {
    return {
      isShowMap: false
    }
  },
  computed: {
    getIsPc() {
      return isPc()
    }
  },
  components: {
    MenuContents: _ => import('Modal/MenuContents'),
    // TopNav,
    Footbar,
    Toolsbar,
    Pendant,
    SayModal,
    MiniMap
  }
}
</script>
